Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ghcr_build_publish #80

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

loorisr
Copy link

@loorisr loorisr commented Feb 26, 2025

I made this github action file to publish a package when a new release is done.

#79

@PeterOsinski
Copy link
Contributor

Thanks, I'll take a closer look and test it!

@PeterOsinski
Copy link
Contributor

@loorisr, can you tell me how this pushed docker image would be then used by the users? I would appreciate some manual I could then include in the readme along with instruction on how to also configure it. Would you action use the current dockerfile?

@loorisr
Copy link
Author

loorisr commented Mar 8, 2025

Yes it uses the current Dockerfile.

The github action build the docker image and store in the github container repository : https://github.com/orgs/logdyhq/packages

Then users will have to pull the build image (most likely ghcr.io/logdyhq/logdy-core:latest)

and use it for example with a similar docker-compose:

services:
  logdy:
    image: ghcr.io/logdyhq/logdy-core:latest
    container_name: logdy
    read_only: true
    user: "1000:1000"
    restart: unless-stopped
    security_opt:
      - no-new-privileges=true
    cap_drop:
      - ALL
    volumes:
      - /home/docker/caddy/logs:/var/log:ro #path to your log file
    command: [ "follow", "/var/log/access.log"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants